LassoScript Utility
Basics Browse Detail

[OS_Process->IsOpen]

Tag Link [OS_Process->IsOpen] Category OS Process
Type Member Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type Boolean Security None
Implementation Sets Lasso 8.5

Description

[OS_Process->IsOpen] returns true if the [OS_Process] object is currently attached to a native process. This tag can be used to determine if the native process has exited on its own.

Syntax

Var: 'myProcess' = (OS_Process);
$myProcess->(Open: '/bin/ls', (Array: '.'));
If: $myProcess->IsOpen;
Encode_HTML: $myProcess->Read;
$myProcess->Close;
/If;

Parameters

No Parameters Required.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.